package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TiTpl;
import com.tjmc.tiomscore.model.TiTplExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TiTplMapper extends TranPtnHwSuperMapper<TiTpl> {
    long countByExample(TiTplExample example);

    int deleteByExample(TiTplExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TiTpl record);

    int insertSelective(TiTpl record);

    List<TiTpl> selectByExample(TiTplExample example);

    TiTpl selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TiTpl record, @Param("example") TiTplExample example);

    int updateByExample(@Param("record") TiTpl record, @Param("example") TiTplExample example);

    int updateByPrimaryKeySelective(TiTpl record);

    int updateByPrimaryKey(TiTpl record);

    void insertDataFromTranPtnTpl();
}